package com.tensquare.qa.pojo;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Objects;

//中间表操作类

public class PlPK implements Serializable {

    private String problemid;//问题ID

    private String labelid;//标签ID


    public String getLabelid() {
        return labelid;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        PlPK pl = (PlPK) o;
        return Objects.equals(problemid, pl.problemid) &&
                Objects.equals(labelid, pl.labelid);
    }

    @Override
    public int hashCode() {
        return Objects.hash(problemid, labelid);
    }

    public void setLabelid(String labelid) {
        this.labelid = labelid;
    }


}
